package sysmodel

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ UserMapModel = (*customUserMapModel)(nil)

type (
	// UserMapModel is an interface to be customized, add more methods here,
	// and implement the added methods in customUserMapModel.
	UserMapModel interface {
		userMapModel
	}

	customUserMapModel struct {
		*defaultUserMapModel
	}
)

// NewUserMapModel returns a model for the database table.
func NewUserMapModel(conn sqlx.SqlConn) UserMapModel {
	return &customUserMapModel{
		defaultUserMapModel: newUserMapModel(conn),
	}
}
